package com.stefanini.pe.bbva.iivs.in.bo;

import java.util.List;

import com.stefanini.pe.bbva.iivs.in.bo.iface.MultitablaService;
import com.stefanini.pe.bbva.iivs.in.dao.iface.MultitablaDAO;
import com.stefanini.pe.bbva.iivs.in.to.Multitabla;
import com.stefanini.pe.bbva.iivs.in.to.MultitablaKey;

public class MultitablaServiceImpl implements MultitablaService{
	private MultitablaDAO multitablaDAO;
	
	MultitablaServiceImpl(MultitablaDAO multitablaDAO){
		this.multitablaDAO=multitablaDAO;
	}
	
	public List selectDynamicWhere(Multitabla multitabla){
	return this.multitablaDAO.selectDynamicWhere(multitabla);	
	}

	public int deleteByPrimaryKey(MultitablaKey key) {
		return this.multitablaDAO.deleteByPrimaryKey(key);
	}

	public void insert(Multitabla record) {
		this.multitablaDAO.insert(record);
	}

	public void insertSelective(Multitabla record) {
		this.multitablaDAO.insertSelective(record);
	}

	public Multitabla selectByPrimaryKey(MultitablaKey key) {
		return this.multitablaDAO.selectByPrimaryKey(key);
	}

	public int updateByPrimaryKey(Multitabla record) {
		return this.multitablaDAO.updateByPrimaryKey(record);
	}

	public int updateByPrimaryKeySelective(Multitabla record) {
		return this.multitablaDAO.updateByPrimaryKeySelective(record);
	}

	public String selectNextPKRangos() {
		return this.multitablaDAO.selectNextPKRangos();
	}
	
	public List selectMonedas(){
		return this.multitablaDAO.selectMonedas();
	}
}
